cmake_minimum_required(VERSION 3.7)
project(yunbademo)

set(CMAKE_CXX_STANDARD 11)

set(SOURCE_FILES main.cpp yunba_server.cpp yunba_server.h )
link_directories(/home/yan/Documents/yunba/local/yunba-c-sdk/build/output)
include_directories(/home/yan/Documents/yunba/local/yunba-c-sdk/src)

add_executable(yunbademo ${SOURCE_FILES})
target_link_libraries(yunbademo paho-mqtt3c )